package com.muyu.danmo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**  区县
 * @ClassName
 * @Description
 * @Author
 * @Date
 * @Version
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DanmoCounty{
    /**
     *区县id
     **/
    private Long id;
    /**
     *区县编码
     **/
    private String countyCode;
    /**
     *区县名称
     **/
    private String name;
    /**
     *所属城市编码
     **/
    private String cityCode;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("countyCode", getCountyCode())
                .append("cityCode", getCityCode())
                .append("name", getName())
                .toString();
    }


}
